% Marcelo Barros de Almeida
% Mon Apr 3 08:54:54 2000
% -----------------------------------------------------------------------------
%
%
%
%
% -----------------------------------------------------------------------------
% IDENTIFICATION PART
% -----------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{litc}[2002/10/26 - Modelo LITC de documento - CPDEE - UFMG]
% -----------------------------------------------------------------------------
% INITIAL CODE PART
% -----------------------------------------------------------------------------
% -----------------------------------------------------------------------------
% OPTION DECLARATION PART
% -----------------------------------------------------------------------------
\DeclareOption{dvips}{\input{dvips.def}} 
\DeclareOption*{% 
  \PassOptionsToClass{\CurrentOption}{book}% 
} 
% -----------------------------------------------------------------------------
% OPTION EXECUTION PART
% -----------------------------------------------------------------------------
\ProcessOptions 
% -----------------------------------------------------------------------------
% PACKAGE LOADING PART
% -----------------------------------------------------------------------------
\RequirePackage{amsbsy,amssymb,amsmath,amsthm}
\RequirePackage{latexsym}
\RequirePackage{pifont}
\RequirePackage{graphicx}
\RequirePackage{float}
\RequirePackage{wrapfig}
%\RequirePackage{a4dutch}
\RequirePackage{setspace}
\RequirePackage{url}
\RequirePackage[latin1]{inputenc}
\RequirePackage[brazil,english]{babel}
\RequirePackage[T1]{fontenc}
%\RequirePackage{indentfirst}
% Put this pacote at the end of the loading section
\RequirePackage[rm,bf]{titlesec}
\RequirePackage{xspace}
%\RequirePackage{bookman}
\RequirePackage{titletoc}
%ftp://ftp.dante.de/tex-archive/macros/latex/contrib/supported/titlesec
\RequirePackage[hang,small,sf,bf]{caption}
\RequirePackage{fancyhdr}
\RequirePackage{psfrag}
%\RequirePackage{subfigure}
%\RequirePackage{listings} 
%\lstloadlanguages{Matlab,C}
%\geometry{a4paper,scale={0.7,0.8}}
%\LoadClass{book}  %% !!!! UNCOMMENT THIS LINE TO USE .CLS FILES !!!!
% -----------------------------------------------------------------------------
% MAIN CODE PART
% -----------------------------------------------------------------------------
\setlength{\oddsidemargin}{31pt}
\setlength{\evensidemargin}{80pt}
\setlength{\topmargin}{28pt}
\setlength{\headheight}{12pt}
\setlength{\headsep}{20pt}
\setlength{\textheight}{580pt}
\setlength{\textwidth}{348pt}
\setlength{\marginparsep}{7pt}
\setlength{\marginparwidth}{60pt}
\setlength{\footskip}{36pt}
\setlength{\marginparpush}{5pt}

\setlength{\oddsidemargin}{61pt}
\setlength{\evensidemargin}{50pt}
\setlength{\marginparwidth}{35pt}
\setlength{\marginparsep}{5pt}

%----------------------------------------------------------------
\newlength{\txtsepmarg}
\addtolength{\txtsepmarg}{\textwidth}
\addtolength{\txtsepmarg}{\marginparsep}
\addtolength{\txtsepmarg}{\marginparwidth}
%----------------------------------------------------------------
\titleformat{\chapter}[display]
{\rule[-.3\baselineskip]{\txtsepmarg}{4pt}\headrule\vspace{1pc}}
{\Huge\bfseries\chaptername\hspace{1ex}\thechapter\filright}
{5pt}
{\Huge\bfseries\filright}

\makeatletter
\newcommand{\apriori}{\emph{a priori}}
\newcommand{\gbf}[1]{\boldsymbol{#1}}
\renewcommand{\captionfont}{\sf\small}
\newcommand{\nohyphens}{\hyphenpenalty=10000\exhyphenpenalty=10000\relax}
\renewcommand\thesubsubsection{\thesubsection .\arabic{subsubsection}}
\setcounter{secnumdepth}{3}

\makeatother
%----------------------------------------------------------------
\renewcommand{\labelitemi}{\ding{111}} 
\renewcommand{\labelitemii}{\ding{80}}
\renewcommand{\labelitemiii}{\ding{72}}
\renewcommand{\labelitemiv}{\ding{117}}
%----------------------------------------------------------------
\renewcommand{\theenumi}{\arabic{enumi}} 
\renewcommand{\theenumii}{\theenumi.\arabic{enumii}} 
\renewcommand{\theenumiii}{\theenumi.\thenumii.\arabic{enumiii}} 
\renewcommand{\theenumiv}
               {\theenumi.\thenumii.\theenumiii.\arabic{enumiv}}
%----------------------------------------------------------------
\renewcommand{\labelenumi}  {\bf\theenumi)}
\renewcommand{\labelenumii} {\bf\theenumii)}
\renewcommand{\labelenumiii}{\bf\theenumiii)}
\renewcommand{\labelenumiv} {\bf\theenumiv)}
%----------------------------------------------------------------
\newcommand{\Author}[1]{\newcommand{\autor}{#1}}%
\newcommand{\Title}[1]{\newcommand{\titulo}{#1}}%
\newcommand{\Maketitle}{%
\begin{titlepage}%
\begin{center}%
\vspace*{2cm}%
\rule{\textwidth}{1mm}%
\vspace*{\bigskipamount}%
\begin{flushright}%
  {\Huge \bf  \titulo} %
  \vspace*{\bigskipamount}%
  {\LARGE%
   \begin{tabular}[t]{r}%
     \autor%
   \end{tabular}\\ %
  }%
\end{flushright}%
\vspace*{\bigskipamount}%
\rule{\textwidth}{1mm}%
\vfill%
{\normalsize%
  \url{https://code.google.com/p/svmbr/} \\
}%
\end{center}%
\end{titlepage}}%
%----------------------------------------------------------------

\AtBeginDocument{\selectlanguage{brazil}}










